import request from '@/utils/request';
import { AxiosPromise } from 'axios';

// 获取用户详细信息
export function getMaterialTree(){
  return request({
    url: '/material/list/tree',
    method: 'get'
  });
}
//获取金属材料下拉列表
export function getMatMaterialMenus(param){
  return request({
    url: `/material/list/dictionary/1/${param.type}?series=${param.series}`,
    method: 'get'
  });
}
//获取材料详情
export function getMatMaterialDetail(param){
  return request({
    url: `/material/list/detail/1/mat_material?series=${param}`,
    method: 'get'
  });
}
